/*
 * @Author: CNN 969682281@qq.com
 * @Date: 2023-12-21 10:09:05
 * @LastEditors: 陈妮娜 969682281@qq.com
 * @LastEditTime: 2024-04-26 15:50:25
 * @FilePath: \Gx-Back\src\components\testDetectionManage\InspectionFormText\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
    formObj: [
        {
            input: true, //是input
            label: "委托单编号", //字段
            prop: "fWitnessno", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: false,
                message: '委托单编号不能为空'
            }] //验证
        },
        {
            select: true, //是input
            label: "施工单位", //字段
            prop: "fCompanyname", //字段名
            width:12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                message: '施工单位不能为空'
            }] ,//验证
            options:[]
        },
        {
            inputBtn: true, //是input
            inputButton: true,
            label: "工程部位/用途", //字段
            prop: "fEngineeringpart", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '工程部位/用途不能为空'
            }] //验证
        },
        {
            datePicker: true, //是input
            label: "计划检测日期", //字段
            prop: "fPlantestdates", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '计划检测日期不能为空'
            }], //验证
        },
        {
            selects: true, //是selects
            label: "试验条件", //字段
            prop: "fTestcondition", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择试验条件'
            }], //验证
            options: [{
                label: "现场",
                value: "现场"
            }, {
                label: "室内",
                value: "室内"
            },]
        },
        {
            selectMultiple: true, //是input
            label: "检测依据", //字段
            prop: "fTestbasisnameList", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            placeholder: "请选择",
            options: [],
            rules: [{
                required: true,
                message: '请选择检测依据'
            }] //验证
        },
        {
            selectMultiple: true, //是input
            label: "判定依据", //字段
            prop: "fDecidebasisnameList", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            placeholder: "请选择",
            options: [],
            rules: [{
                required: true,
                message: '请选择判定依据'
            }] //验证
        },

        {
            selectMultiple: true, //是input
            label: "仪器设备名称及编号", //字段
            prop: "fEquipnameandnoList", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            placeholder: "请选择",
            options: [],
            rules: [{
                required: true,
                message: '请选择仪器设备名称及编号'
            }] //验证
        },
        {
            input: true, //是input
            label: "保护层厚度设计值(mm)", //字段
            prop: "fThicknessdesignvalue", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '保护层厚度设计值不能为空'
            }] //验证
        },
        {
            input: true, //是input
            label: "修正因子(mm)", //字段
            prop: "fCorrectionfactor", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '修正因子不能为空'
            }] //验证
        },
        {
            input: true, //是input
            label: "允许偏差(-mm)", //字段
            prop: "fAllowdeviation1", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "请填写正整数，这里代表负值",
            rules: [{
                required: true,
                message: '允许偏差(-mm)不能为空'
            }] //验证
        },
        {
            input: true, //是input
            label: "允许偏差(+mm)", //字段
            prop: "fAllowdeviation", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "请填写正整数，这里代表正值",
            rules: [{
                required: true,
                message: '允许偏差(+mm)不能为空'
            }] //验证
        },
        {
            input: true, //是input
            label: "编制人", //字段
            prop: "fAuthorname", //字段名
            width: 6, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                message: '编制人不能为空'
            }] //验证
        },
    ],
}